package cn.yeziji.forum.common.enums.status;

import cn.yeziji.forum.common.enums.status.code.QuestionCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 问题状态
 *
 * @author gzkemays
 * @since 2022/11/13 9:28 PM
 */
@Getter
@AllArgsConstructor
public enum QuestionStatus {
  QUESTION_IS_NOT_FOUND(QuestionCode.QUESTION_IS_NOT_FOUND, "没有该提问"),
  QUESTION_ADOPTED_FAIL(QuestionCode.QUESTION_ADOPTED_FAIL, "答案采纳失败"),
  QUESTION_SUBMIT_FAIL(QuestionCode.QUESTION_SUBMIT_FAIL, "提问提交失败");

  int code;
  String msg;
}
